<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<h:body>
	<ui:composition template="/pages/layout/baselayout.xhtml">
		<ui:define name="content">
			<h:form>
				<p:dataTable id="dataTable" var="it"
					value="#{userController.listeUser}" paginator="true"
					rows="10"
					paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
					rowsPerPageTemplate="5,10,15">
					<f:facet name="header">
Liste des Users
</f:facet>
					<p:column>
						<f:facet name="header">
							<h:outputText value="NOM" />
						</f:facet>
						<h:outputText value="#{it.nom}" />
					</p:column>
					<p:column>
						<f:facet name="header">
							<h:outputText value="Prenom" />
						</f:facet>
						<h:outputText value="#{it.prenom}" />
					</p:column>

				</p:dataTable>
			</h:form>
			<h:form>

			</h:form>
		</ui:define>

	</ui:composition>

</h:body>

</html>


